﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="navigate.aspx.cs" Inherits="ACC_Navigate2" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="reports/userControls/RollupFilters.ascx" TagName="RollupFilters"
    TagPrefix="uc1" %>
<%@ Register Src="reports/userControls/PortfolioFilters.ascx" TagName="PortfolioFilters"
    TagPrefix="uc2" %>

<%@ Register src="reports/userControls/ReportFilters.ascx" tagname="ReportFilters" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta name="copyright" content="Copyright 2009" />
    <meta name="Author" content="Joe Smith, onejbsmith@gmail.com" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Page-Enter" content="progid:DXImageTransform.Microsoft.Fade(Duration=.25)" />
    <meta http-equiv="Page-Exit" content="progid:DXImageTransform.Microsoft.Fade(Duration=.25)" />

    <link href="Styles/acc.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="Scripts/Navigate.js"></script>
    <script src="Scripts/Reports.js" type="text/javascript"></script>
    <style type="text/css">.pushbutton{}</style> 
</head>
<body class="navbody">
    <form id="form1" runat="server">
    <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </ajaxToolkit:ToolkitScriptManager>
    <div style="z-index: 999; position: absolute; top: 4px; left: 4px;">
        <div id="EntryPoint" runat="server" style="position: absolute; top: -100px">
            <asp:Label ID="Label1" runat="server" Text="Start Here" AssociatedControlID="EntryPointSelect"
                CssClass="lbl" /><br />
            <asp:DropDownList ID="EntryPointSelect" runat="server" AutoPostBack="True" OnSelectedIndexChanged="EntryPointSelect_SelectedIndexChanged">
                <asp:ListItem></asp:ListItem>
                <asp:ListItem Text="Managers" Value="Manager"></asp:ListItem>
                <asp:ListItem Text="States" Value="State"></asp:ListItem>
                <asp:ListItem Text="Markets" Value="Market"></asp:ListItem>
                <asp:ListItem Text="Portfolios" Value="Portfolio"></asp:ListItem>                
                <asp:ListItem Text="Regions" Value="Region"></asp:ListItem>
                <asp:ListItem>-------------</asp:ListItem>
                <asp:ListItem Text="Reports" Value="Report"></asp:ListItem>
            </asp:DropDownList>
        </div>
        <div id="FirstLevel" runat="server" visible="false">
            <asp:Label ID="lblFirstLevel" runat="server" AssociatedControlID="FirstLevelList"
                CssClass="lbl FgLightGreen" Font-Bold="True" />
            <br />

            <asp:DropDownList ID="FirstLevelList" runat="server" OnSelectedIndexChanged="FirstLevelList_SelectedIndexChanged"
                CssClass="lbl" AutoPostBack="True" Font-Names="'Avenir','Segoe UI',Calabri,Arial,San-Serif"
                AppendDataBoundItems="True" Font-Size="9pt" DataSourceID="odsFirstLevel" DataTextField="TXT"
                DataValueField="VAL" OnDataBound="FirstLevelList_DataBound">
                <asp:ListItem></asp:ListItem>
            </asp:DropDownList>
            <asp:Panel ID="pnlSlideShow" runat="server" class="FgOrangePale right" Style="font: 110% Webdings;">
                <table cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%">
                    <tr>
                        <td>
                            <asp:LinkButton class="pushbutton" ToolTip="First" ID="lnkbtnFirst" runat="server" Text="9" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnPrev" runat="server" ToolTip="Previous" Text="3" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnNext" runat="server" ToolTip="Next" Text="4" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnLast" runat="server" ToolTip="Last" Text=":" />
                        </td>
                        <td>
                            <img runat="server" id="imgNowDoing" src="~/images/led-blue.gif" alt="*" style="position: relative;
                                top: 2px" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnBack" ToolTip="Auto Previous" runat="server" Text="7" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnPause" runat="server" ToolTip="Pause" Text=";" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnForward" runat="server" ToolTip="Auto Next" Text="8" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnStop" runat="server" ToolTip="Stop" Text="<" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtSpeed" Width="12px" runat="server" Font-Size="8pt" Text="30"
                                CssClass="BgATT_Blue FgWhite" BorderStyle="None" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnFaster" runat="server" ToolTip="Faster" Text="6" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnSlower" runat="server" ToolTip="Slower" Text="5" />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:ImageButton  ID="imgbtnFilterPortfolios" runat="server" ImageUrl="~/images/orange-plastic-funnel.png"
                ToolTip="Filter Portfolios" OnClick="imgbtnFilter_Click" CssClass="right" style="display:none"/>
            <div style="float: right">
                
                    <asp:Label ID="lblRollupOptions" CssClass="lbl2 FgOrangeMed" AssociatedControlID="imgbtnShow3"
                        runat="server" Text="Options" Style="cursor: pointer; position: relative; bottom: 5px;
                        left: 10px" onmouseover="this.className='lbl2 FgOrange'" onmouseout="this.className='lbl2 FgOrangeMed'"></asp:Label>
                    <asp:ImageButton ID="imgbtnShow3" runat="server" ImageUrl="~/images/btn_arrow_box_grn.gif"
                        ToolTip="Show Data Analysis Options" OnClick="imgbtnShow3_Click" onmouseover="$('#lblRollupOptions')[0].className='lbl2 FgOrange'"
                        onmouseout="$('#lblRollupOptions')[0].className='lbl2 FgOrangeMed'" />
                
                    <asp:Label ID="lblRefresh" CssClass="lbl2 FgOrangeMed" AssociatedControlID="imgbtnRefresh1"
                        runat="server" Text="Refresh" Style="cursor: pointer; position: relative; bottom: 5px;
                        left: 10px" onmouseover="this.className='lbl2 FgOrange'" onmouseout="this.className='lbl2 FgOrangeMed'"></asp:Label>
                    <asp:ImageButton class="pushbutton" ID="imgbtnRefresh1" runat="server" ImageUrl="~/images/Refresh1.png"
                        ToolTip="Refresh Display" OnClick="imgbtnRefresh1_Click" onmouseover="$('#lblRefresh')[0].className='lbl2 FgOrange'"
                        onmouseout="$('#lblRefresh')[0].className='lbl2 FgOrangeMed'" /></div>
            <img id="imgLoadingFirst" src="images/LoadingProgressBar.gif" alt="Please wait..."
                style="display: none;" />
            <ajaxToolkit:ListSearchExtender ID="FirstListSearching" runat="server" TargetControlID="FirstLevelList"
                PromptText="Type to search" PromptCssClass="FgWhite" PromptPosition="Top" IsSorted="true"
                Enabled="false" />
            <br />
            <br />
        </div>
        <div id="SecondLevel" runat="server" visible="false">
            <asp:Label ID="lblSecondLevel" runat="server" Text="Properties" AssociatedControlID="SecondLevelList"
                CssClass="lbl right" ForeColor="#D5FAB9" Font-Bold="True" /><br />
            <asp:DropDownList ID="SecondLevelList" runat="server" CssClass="lbl" AutoPostBack="true"
                DataTextField="PROPERTY" DataValueField="TRAC_ID" OnDataBound="SecondLevelList_DataBound"
                OnSelectedIndexChanged="SecondLevelList_SelectedIndexChanged" Font-Names="'Avenir','Segoe UI',Calabri,Arial,San-Serif"
                Font-Size="9pt" AppendDataBoundItems="True">
            </asp:DropDownList>

            <asp:Panel ID="Panel1" runat="server" class="FgOrangePale right" Style="font: 110% Webdings;">
                <table cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%">
                    <tr>
                        <td>
                            <asp:LinkButton class="pushbutton" ToolTip="First" ID="lnkbtnFirst1" runat="server" Text="9" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnPrev1" runat="server" ToolTip="Previous" Text="3" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnNext1" runat="server" ToolTip="Next" Text="4" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnLast1" runat="server" ToolTip="Last" Text=":" />
                        </td>
                        <td>
                            <img runat="server" id="imgNowDoing1" src="~/images/led-blue.gif" alt="*" style="position: relative;
                                top: 2px" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnBack1" ToolTip="Auto Previous" runat="server" Text="7" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnPause1" runat="server" ToolTip="Pause" Text=";" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnForward1" runat="server" ToolTip="Auto Next" Text="8" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnStop1" runat="server" ToolTip="Stop" Text="<" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtSpeed1" Width="12px" runat="server" Font-Size="8pt" Text="30"
                                CssClass="BgATT_Blue FgWhite" BorderStyle="None" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnFaster1" runat="server" ToolTip="Faster" Text="6" />
                        </td>
                        <td>
                            <asp:LinkButton class="pushbutton" ID="lnkbtnSlower1" runat="server" ToolTip="Slower" Text="5" />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
          
            <asp:ImageButton class="pushbutton" ID="imgbtnFilterProperties" runat="server" ImageUrl="~/images/orange-plastic-funnel.png"
                ToolTip="Filter Properties" OnClick="imgbtnFilter_Click" Style="float: right;display:none" />
   
            <div style="float: right">
            <asp:ImageButton class="pushbutton right" ID="imgbtnRefresh2" runat="server" ImageUrl="~/images/Refresh1.png"
                    Visible="false" OnClick="imgbtnRefresh2_Click" />
                &nbsp;<asp:CheckBox ID="chkByTracID" Text="By TRAC#" runat="server" CssClass="lbl2" 
 TextAlign="Left"                    AutoPostBack="True" OnCheckedChanged="chkByTracID_CheckedChanged" ForeColor="#D5FAB9"
                    Font-Bold="False" />
                </div>
            <img id="imgLoadingSecond" src="images/LoadingProgressBar.gif" alt="Please wait..."
                style="display: none;" />

         <ajaxToolkit:ListSearchExtender ID="ListSearchExtender1" runat="server" TargetControlID="SecondLevelList"
                PromptText="Type to search" PromptCssClass="FgWhite" PromptPosition="Top" IsSorted="true" />
        </div>
        <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="imgbtnShow3" EventName="Click" />
            </Triggers>
            <ContentTemplate>--%>
        <div id="ThirdLevel" runat="server" style="display: none">
            <uc1:RollupFilters ID="RollupFilters1" runat="server" />
        </div>
        <div id="FourthLevel" runat="server" visible="false">
            <uc2:PortfolioFilters ID="PortfolioFilters1" runat="server" Grouping="Portfolios"
                Visible="false" OncClick="btnFilter_Click" />
            <uc2:PortfolioFilters ID="PropertyFilters" runat="server" Grouping="Properties" Visible="false"
                OncClick="btnFilterProperties_Click" />

        </div>
        <uc3:ReportFilters ID="ReportFilters1" runat="server" Visible="False" />
        <%--            </ContentTemplate>
        </asp:UpdatePanel>
        --%>
<div class="SE_Watermark">
            <asp:ImageMap ID="ImageMap1" runat="server" ImageUrl="~/images/2006regions.gif" Style="filter: alpha(opacity=0);zoom:90%;opacity:0.0">
            </asp:ImageMap>
            <div style="text-align: right; width: 185px; float: left; margin: 0 0 0 30px; filter: alpha(opacity=15);opacity:0.30">
                <h2>

                <br />
                <br />

                    Florida<br />
                    <br />
                    Georgia<br />
                    <br />
                    Kentucky<br />
                    Tenn</h2>
                
                <h2>
                    esee<br />
                    Carolinas<br />
                    <br />
                    Alabama<br />
                    Louisiana<br />
                    Mississippi<br />
                </h2>
            </div> 
        </div>
    </div> 
<div class="Watermark">
            <div style="text-align: left; width: 180px; float: left; margin: 0 0 0 2px; filter: alpha(opacity=15);opacity:0.30;">
                <h2>

                    California<br />
                    Nevada
                    <br />
                    <br />
                    Connecticut<br />
                    <br />
                    Texas<br />
                    Oklahoma<br />
                    Kansas<br />                   
                    Arkansas<br />
                    Missouri<br />
                    <br />

                    Illinois<br />
                    Wisconsin<br />
                    Indiana<br />
                    Michigan<br />
                    Ohio<br />
                    <br />                
                </h2>
            </div>
        </div>

    <asp:ObjectDataSource ID="odsFirstLevel" runat="server" SelectMethod="dvACC_DATA" OnSelecting="odsFirstLevel_Selecting" 
        TypeName="Menus">
        <SelectParameters>
            <asp:ControlParameter ControlID="EntryPointSelect" Name="psFirstLevelName" PropertyName="SelectedValue"
                Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    </form>
</body>
</html>
